ON
.Tip | Description |
---|---|
💬 Be explicit | Tell the agent exactly what structure to follow, with a JSON snippet. |
🔄 Add retries | On schema mismatch, set up retries with more specific prompts. |
✂️ Avoid overkill | Only include necessary fields — don’t make structures too verbose. |
🧪 Test edge cases | Try inputs like nulls, large numbers, or ambiguous prompts. |
⚙️ Define schemas | Use JSON Schema for validation when needed. |
Attribute | Value |
---|---|
Format | JSON, YAML, key-value pairs, tables |
Ideal for | Automation, dashboards, pipelines, data pipelines |
Setup | Agent creation > Enable Structured Output |
Prompting Style | Strict instruction + Output structure |
Integration Use | High — works with webhooks, APIs, databases, frontend UIs |